#ifndef TASK_CHAIN_FACTORY_H
#define TASK_CHAIN_FACTORY_H

#include "task_chain.h"
#include "scheduler/abstract_scheduler.h"

namespace task
{
class TaskChainFactory
{
public:
    /**
     * @brief:  task chain工厂
     * @author: maxu
     */
    static task::TaskChain *createTaskChain(const std::string &name, const scheduler::AbstractSchedulerConstPtr &scheduler);

private:
    TaskChainFactory();
};

}

#endif //TASK_CHAIN_FACTORY_H
